﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using AssetManageSystem.Model.AssetManage;


namespace AssetManageSystem.ViewModel.AssetManage.AssetRepairVMs
{
    public partial class AssetRepairTemplateVM : BaseTemplateVM
    {
        [Display(Name = "单据编号")]
        public ExcelPropety DocNumber_Excel = ExcelPropety.CreateProperty<AssetRepair>(x => x.DocNumber);
        [Display(Name = "报修日期")]
        public ExcelPropety OutDate_Excel = ExcelPropety.CreateProperty<AssetRepair>(x => x.OutDate);
        [Display(Name = "维修单位")]
        public ExcelPropety RepairUnit_Excel = ExcelPropety.CreateProperty<AssetRepair>(x => x.RepairUnit);
        [Display(Name = "联系方式")]
        public ExcelPropety Contacts_Excel = ExcelPropety.CreateProperty<AssetRepair>(x => x.Contacts);
        [Display(Name = "维修内容")]
        public ExcelPropety RepairInfo_Excel = ExcelPropety.CreateProperty<AssetRepair>(x => x.RepairInfo);

	    protected override void InitVM()
        {
        }

    }

    public class AssetRepairImportVM : BaseImportVM<AssetRepairTemplateVM, AssetRepair>
    {

    }

}
